-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add ampd build job #258
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #258 +/- ##
=======================================
Coverage 89.60% 89.60%
=======================================
Files 166 166
Lines 17170 17170
=======================================
Hits 15385 15385
Misses 1785 1785 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tonnes of deprecation notices on the github action run here, since this is a fresh pipeline, lets clean up all the ones that can be cleaned, if a node 20 release is not available for a certain action we can ignore that for now but i think ideally there should be no warnings for deprecations etc.
https://github.com/axelarnetwork/axelar-amplifier/actions/runs/7791445362
Added the secrets, you can test the pipeline. |
944a8b2
to
378db5f
Compare
56eb527
to
65e694c
Compare
b21524c
to
74946e9
Compare
74946e9
to
7e59ada
Compare
mkdir ampdbin | ||
mv "/Users/runner/work/axelar-amplifier/axelar-amplifier/target/aarch64-apple-darwin/release/ampd" "./ampdbin/ampd-$OS-$ARCH-$SEMVER" | ||
gpg --armor --detach-sign "./ampdbin/ampd-$OS-$ARCH-$SEMVER" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lot of duplication here, ideally the OS specific vars/cmds are set/run separately first and then you can run the remaining cmds generically
E.g. In a prior step, define the rust target as a var, and install any deps if needed
OUTPUT=$(file "$binary" | cut -d: -f2- | awk -F, '{print $1"," $2}') | ||
if [[ "${{ matrix.os }}" == "ubuntu-22.04" ]]; then | ||
if [[ "${{ matrix.arch }}" == "amd64" ]]; then | ||
EXPECTED="ELF 64-bit LSB pie executable, x86-64" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these can be set in the same step above where you're setting arch specific vars
Description
Todos
Update secrets
Create secrets
Steps to Test
Expected Behaviour
Other Notes
Example of run in success
https://github.com/axelarnetwork/axelar-amplifier/actions/runs/7791445362
but we should validate with an end to end test with all parts uncommented